﻿package pk;



public class chaxun {
public static void main(String[] args) {

    String a = "我爱你中国  我爱你故乡";
    String b = "爱";

    int num = appearNumber(a, b);
    System.out.println(num);
}
